﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 类的继承与多态
{
    class digital:product
    {
        private string barcode;

        public string Barcode { get { return barcode; } set { barcode = value; } }

        public override void showdetil()
        {
            Console.WriteLine("条码：{0]",barcode);
        }
    }
}
